/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.click.app.dao.hibernate;

import com.click.app.dao.AsignationCutDao;
import com.click.app.model.AsignationCut;
import com.click.app.model.CutProcess;
import java.util.List;

/**
 *
 * @author ariel
 */
public class AsignationCutDaoHibernate extends GenericDaoHibernate<AsignationCut, Long> implements AsignationCutDao{

    public AsignationCutDaoHibernate() {
        super(AsignationCut.class);
    }

    public List<AsignationCut> findByCutProcess(CutProcess cutProcess) {
        return getHibernateTemplate().find("from AsignationCut where cutProcess=?", cutProcess);
    }

}
